#
# Be sure to run `pod lib lint BCZegoExpressEngine.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'BCZegoExpressEngine'
  s.version          = '2.22.0'
  s.summary          = 'Zego Express Audio/Video Live SDK for iOS and macOS'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
  ZegoExpressEngine Audio/Video Live SDK for iOS and macOS by ZEGO.
                       DESC

  s.homepage         = 'https://www.zego.im/en'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'Copyright', :text => 'Copyright © 2016-2022 ZEGO. All Rights Reserved.\n' }
  s.author           = { "ZEGO": "zego.im" }
  s.source           = { "http": "https://seven-sea-test.oss-cn-shenzhen.aliyuncs.com/iosshare/BCZegoExpressEngine.zip" }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.documentation_url = 'https://doc-en.zego.im'
  s.ios.deployment_target = '10.0'

  # s.source_files = 'BCZegoExpressEngine/Classes/**/*'
  s.default_subspecs = "Video"
  s.requires_arc = true
  s.pod_target_xcconfig = { "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "i386" } 
  s.subspec 'Video' do |cs|
    cs.ios.vendored_frameworks = "BCZegoExpressEngine/Video/iOS/ZegoExpressEngine.xcframework"
    cs.osx.vendored_frameworks = "BCZegoExpressEngine/Video/macOS/ZegoExpressEngine.xcframework"
  end
end
